package com.misty.synch;

/**
 * @author iMisty
 * @version 1.0
 * @date 2020/9/4 11:50 下午
 */
public class User {

    private int storeNumber;

    private Key key;
    public User(Key key,int storeNumber) {
        this.storeNumber = storeNumber;
        this.key = key;
    }

    public void useKey(){
        key.setKeyNumber(storeNumber);
    }

}
